import request from '@/utils/request'

export async function findAllClass() {
    return request('/api/class/findAllClass', {
        method: 'get'
    })
}

export function deleteClassById(params) {
    return request("/api/class/deleteClassById", {
        method: "get",
        params
    })
}

export function updateClassById(params) {
    return request("/api/class/updateClassById", {
        method: "post",
        data: params
    })
}

export function insertClass(params){
    return request("/api/class/insertClass",{
        method: "get",
        params
    })
}
